/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.htk.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 随机话题Entity
 * @author htk
 * @version 2018-04-26
 */
public class HtkSjht extends DataEntity<HtkSjht> {
	
	private static final long serialVersionUID = 1L;
	private String title;		// 标题
	private String url;		// 随机话题url
	
	public HtkSjht() {
		super();
	}

	public HtkSjht(String id){
		super(id);
	}

	@Length(min=0, max=255, message="标题长度必须介于 0 和 255 之间")
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	@Length(min=0, max=255, message="随机话题url长度必须介于 0 和 255 之间")
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
	
}